package cn.edu.hubu.hubusmartzoohouse.service;

import cn.edu.hubu.hubusmartzoohouse.entity.Device;
import cn.edu.hubu.hubusmartzoohouse.vo.ResultVo;

public interface DeviceService {
    public ResultVo insert(Device device);
    public ResultVo update(Device device);
    public ResultVo delete(Device device);
    public ResultVo listDevice();

    public ResultVo logicDeleteDevice(int deviceId);

    public ResultVo get(int deviceId);
    public ResultVo modifyDevice(Device device);

    public ResultVo searchDeviceById(int deviceId);
    public ResultVo searchDeviceByName(String deviceName);
}
